const mapToken = '32bf0e2a42f5aae811234661c2366394'
window.mapToken = mapToken

window.mapPosition = {
  lon:113.17078,
  lat:27.77122,
  height:133333,
  heading:360,
  pitch:-90
};
window.baseLayerConfig = [
  {
    label: '影像',
    value: 'yingxiang',
    layerData: [
      {
        name: 'tdt',
        type: 'sky',
        url: `https://t0.tianditu.gov.cn/img_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=${mapToken}`,
      },
      {
        name: 'tdtzj',
        type: 'sky',
        url: `https://{s}.tianditu.gov.cn/cia_c/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=cia&tileMatrixSet=c&TileMatrix={TileMatrix}&TileRow={TileRow}&TileCol={TileCol}&style=default&format=tiles&tk=${mapToken}`,
      },
    ],
  },
]

window.zhuzhouLayer = {
  serverLayer: `http://119.45.166.244:40021/mapserver/layer/定制服务0924/getMAP?x={TileCol}&y={TileRow}&l={TileMatrix}&styleId=dzfw0924`,
}
